package com.job.service;

import com.job.pojo.UserInfo;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;

@Service
public interface UserInfoService {

    //登录
     String loginVerify(UserInfo user);

     //注册
    String zhuce(UserInfo user);

    //邮件发送
    HashMap<String,Object> sendMail(String toEmail, HttpServletRequest request);

    //验证邮箱发送的验证码对的上不
    String  VerifyCodefunction(UserInfo user);

    //修改代码
    String ChangePass(UserInfo user);

    //注销
    void exit();

    //返回用户名
    String getU();
}
